package com.ehome.poct.core.dao.mybatis;

import com.ehome.mybatisplus.support.AbstractCrudRepository;
import com.ehome.poct.core.api.dto.report.TestReportConfDTO;
import com.ehome.poct.core.dao.entity.report.TestReportConfDO;
import com.ehome.poct.core.dao.mybatis.mapper.report.TestReportConfMapper;
import com.ehome.poct.core.repository.report.TestReportConfRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * 检测报告配置标（报告隐藏与展示）RepositoryImpl
 *
 * @author muqiu
 * @Date 2022-10-25 09:40
 */
@Repository
public class TestReportConfRepositoryImpl extends AbstractCrudRepository<TestReportConfDO, TestReportConfDTO> implements TestReportConfRepository {
    @Autowired private TestReportConfMapper testReportConfMapper;
    @Override
    public void updateReportConf(TestReportConfDTO testReportConfDTO) {
        testReportConfMapper.updateReportConf(testReportConfDTO);
    }
}
